home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / DJEMU106.ARJ / E10.CC < prev    next >
C/C++ Source or Header  |  1991-04-22  |  336b  |  25 lines

  1. #include "emu.h"
  2. #include "rmov.h"
  3.  
  4. void emu_10()
  5. {
  6.   if (full())
  7.     return;
  8.   if (modrm > 0277)
  9.   {
  10.     // fld st(i)
  11.     int i = modrm & 7;
  12.     if (empty(i))
  13.       return;
  14.     r_mov(st(i), st(7));
  15.     top--;
  16.     return;
  17.   }
  18.   else
  19.   {
  20.     // fld m32real
  21.     top--;
  22.     r_mov((float *)get_modrm(), st());
  23.   }
  24. }
  25.